/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Interface.java to edit this template
 */
package cn.edu.just.secondwebapp.dao;

import cn.edu.just.secondwebapp.entity.Person;
import java.sql.SQLException;
import java.util.List;

/**
 * DAO   data access object
 * @author JUST
 */
public interface PersonDao {

    boolean doCreate(Person p);

    boolean doRemove(int id);

    boolean doUpdate(Person p);

    List<Person> findAll(String fuzzyKey) throws SQLException;
    
}
